package com.bamanker.cloudapi.constant;

/**
 * @author bamanker
 * <p>
 * 定义错误常量 代替错误码,避免业务复杂错误码分配重复等问题
 */
public class CommonErrorConstant {

    public static final String INVALID_REQUEST = "InvalidRequest";
    public static final String INVALID_ARGUMENT = "InvalidArgument";
    public static final String NOT_FOUND = "NotFound";
    public static final String UNKNOWN_ERROR = "UnknownError";
    public static final String TOO_MANY_REQUESTS = "TooManyRequests";
    public static final String OK = "OK";
    public static final String FAIL = "FAIL";
}
